﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="updateInfo.aspx.cs" Inherits="WuxiWTO.Web.updateInfo" %>

<%@ Register Src="~/UserControl/userInfo.ascx" TagName="info" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="con_left">
        <uc1:info ID="info1" runat="server" />
    </div>
    <div class="con_right">
        <div class="con_right_position">
            用户中心 >> 更新个人信息
        </div>
        <div class="main_con">
            <h2 class="main_con_title">
                我的信息
            </h2>
            <div class="con_right_info">
                <table width="600px" border="0" cellpadding="0" cellspacing="1" class="GV">
                <%if (WutiWTO.Common.UserInfo.AllowRegValidate())
                  {%>
                    <tr>
                        <td colspan="2">
                            您当前的注册信息没有通过审核，未通过的原因为：<br />
                            <asp:Label ID="lblMessage" Text="" runat="server" /><br />
                            您可以更改您的信息继续提交审核。
                        </td>
                    </tr>
                    <%} %>
                </table>
                <asp:Panel ID="panCompany" runat="server">
                    <table width="600px" border="0" cellpadding="0" cellspacing="1" class="GV">
                        <tbody>
                            <tr class="GV_Alternat">
                                <td>
                                    用户名：
                                </td>
                                <td>
                                    <asp:TextBox runat="server" CssClass="txt3" ID="txtLoginNameP" MaxLength="10" Enabled="false" />
                                </td>
                            </tr>
                            <tr class="GV_Item">
                                <td>
                                    邮箱：
                                </td>
                                <td>
                                    <asp:TextBox runat="server" CssClass="txt3" ID="txtEmailP" MaxLength="30" Enabled="false" />
                                </td>
                            </tr>
                            <tr class="GV_Alternat">
                                <td>
                                    企业名称：
                                </td>
                                <td>
                                    <asp:TextBox runat="server" CssClass="txt3" ID="txtNameP" MaxLength="40" />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" CssClass="red" ControlToValidate="txtNameP"
                                        runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr class="GV_Item">
                                <td>
                                    联系人：
                                </td>
                                <td>
                                    <asp:TextBox runat="server" CssClass="txt3" ID="txtContact" MaxLength="10" />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" CssClass="red" ControlToValidate="txtContact"
                                        runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                             <tr class="GV_Alternat">
                                <td>
                                    手机：
                                </td>
                                <td>
                                    <asp:TextBox runat="server" CssClass="txt3" ID="txtTelephoneP" MaxLength="15" />
                                </td>
                            </tr>
                            <tr class="GV_Item">
                                <td>
                                    职务：
                                </td>
                                <td>
                                    <asp:TextBox runat="server" CssClass="txt3" ID="txtPosition" MaxLength="20" />
                                </td>
                            </tr>
                            <tr class="GV_Alternat">
                                <td>
                                    地址：
                                </td>
                                <td>
                                    <asp:TextBox runat="server" CssClass="txt3" ID="txtAddress" MaxLength="100" />
                                    <asp:RequiredFieldValidator ID="rfvIDP" CssClass="red" ControlToValidate="txtAddress"
                                        runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr class="GV_Item">
                                <td>
                                    &nbsp;&nbsp;
                                </td>
                                <td>
                                    <asp:Button ID="btnOK" Text="提交" class="button2" runat="server" OnClick="btnOK_Click" />
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </asp:Panel>
            </div>
        </div>
    </div>
</asp:Content>
